﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    /// <summary>
    /// 外送规则表 
    /// </summary>
    [Table("WaiSongGuiZe")]
    public class Model_WaiSongGuiZe:Model_Base
    {
        /// <summary>
        /// 外送规则编号
        /// </summary>
        [Column("ID")]
        [Key]
        [Required]
        public string ID { get; set; }
        /// <summary>
        /// 外送规则名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 超过范围单价
        /// </summary>
        public decimal ChaoGuoFanWeiDanJia { get; set; }
        /// <summary>
        /// 超过范围单位
        /// </summary>
        public string ChaoGuoFanWeiDanWei { get; set; }
        /// <summary>
        /// 超过范围上限
        /// </summary>
        public string ChaoGuoFanWeiShangJia { get; set; }
        /// <summary>
        /// 打包费
        /// </summary>
        public decimal? DaBaoFei { get; set; }
        /// <summary>
        /// 外送费  对应店铺的起送价
        /// </summary>
        public decimal? WaiSongFei { get; set; }
        /// <summary>
        /// 对应的店铺
        /// </summary>
        public string DianPuID { get; set; }
    }
}
